class getAblum{
	//提交创建相册
	CcreateAblum(value){
		return {
		    "AblumName":value
		}
	}
	//获取所有相册
	DgetAllAblum(ablumArr){
		let newAblumArr = [];
		ablumArr.forEach(ablum=>{
			let newAblum = {
				"ablumId":ablum.ablumId,
				"ablumName":ablum.ablumName,
				"ablumDescription":ablum.ablumDescription,
				"ablumCoverPath":ablum.ablumCoverPath,
			}
			newAblumArr.push(newAblum)
		})
		return newAblumArr
	}
	//提交修改相册信息
	CreviseAblum(ablumId,ablumName,ablumDes){
		return {
			 "AblumId":ablumId,
			 "AblumName":ablumName,
			 "AblumDescription":ablumDes
		}
	}
	
}



export default getAblum;